#include "unitlistwidgetitem.h"
#include <QFont>
#include <QSize>

UnitListWidgetItem::UnitListWidgetItem(const QIcon &icon, const QString &text, QListWidget *view, int type)
    : QListWidgetItem(icon, text, view, type)
    , m_unit(Unit())
{
    setSizeHint(QSize(sizeHint().width(), 50));
    QFont font = this->font();
    font.setPointSize(12);
    setFont(font);
}

